package com.fulihui.wgj.admin.api.wxtemplate.vo;

import com.fulihui.common.vo.CommonVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 微信模板发送记录
 *
 * @author wang_wx
 * @date 2018-07-26
 */
@Getter
@Setter
@ApiModel("模板发送记录视图")
public class SendTemplateLogVO extends CommonVO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("模板跳转url")
    private String jumpUrl;

    @ApiModelProperty("小程序appid")
    private String miniAppId;

    @ApiModelProperty("小程序url路径")
    private String miniProgramUrl;

    @ApiModelProperty("发送预计总人数")
    private Integer allTotal;

    @ApiModelProperty("发送成功数")
    private Integer successTotal;

    @ApiModelProperty("发送失败数")
    private Integer failTotal;

    @ApiModelProperty("发送开始时间")
    private String sendStartTime;

    @ApiModelProperty("发送结束时间")
    private String sendEndTime;

    /**
     * 发送状态("pushing", "正在发送"),("complete", "发送完成"),("await", "等待发送"),("invalid", "模板非法"),("cancel", "取消发送");
     * {@link com.fulihui.common.enums.SendLogStatusEnum}
     */
    @ApiModelProperty("发送状态(\"pushing\", \"正在发送\"),(\"complete\", \"发送完成\"),(\"await\", \"等待发送\"),(\"invalid\", \"模板非法\"),(\"cancel\", \"取消发送\")")
    private String sendStatus;

    @ApiModelProperty("是否定时任务")
    private Boolean jobStatus;

    @ApiModelProperty("定时时间")
    private String jobTime;

    @ApiModelProperty("微信模板id")
    private String templateId;

    /**
     * 模板记录类型 (0, "SHOP", "电商"),(1, "GAME", "游戏")
     * {@link com.fulihui.common.enums.TemplateLogTypeEnum}
     */
    @ApiModelProperty("模板记录类型 (0, \"SHOP\", \"电商\"),(1, \"GAME\", \"游戏\")")
    private Integer templateLogType;

    /**
     * 发送条件描述(前端拼接)
     */
    @ApiModelProperty("发送条件描述(前端拼接)")
    private String sendConditionDesc;

    @ApiModelProperty("模板内容")
    private String templateContent;

    @ApiModelProperty("模板发送数据")
    private String templateData;

    @ApiModelProperty("点击数")
    private String clickNum;
}